package com.landinfo.service.mapper;

import com.landinfo.domain.GpsLocation;
import com.landinfo.service.dto.GpsLocationDTO;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity DataType and its DTO DataTypeDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface GpsLocationMapper extends EntityMapper <GpsLocationDTO, GpsLocation> {

    default GpsLocation fromId(String id) {
        if (id == null) {
            return null;
        }
        GpsLocation dataType = new GpsLocation();
        dataType.setId(id);
        return dataType;
    }
}
